package com.andy.vo;
// default package
// Generated 2016-10-6 2:36:27 by Hibernate Tools 4.0.0.Final

import java.math.BigDecimal;

import org.hibernate.validator.constraints.NotEmpty;

public class ExamSubjectVO implements java.io.Serializable {

	private static final long serialVersionUID = -7030466840712461289L;
	private Integer subId;
	
	// JSR303 校验规则注解
	@NotEmpty(message = "姓名不能为空！")
	private String name;
	
	@NotEmpty(message = "科目描述不能为空！")
	private String description;
	private int testCount;	//sdfsd
	private int totalTime;
	private BigDecimal totalScore;
	private int status;
	private boolean joinTest;
	private ExamScoreVO score;
	private BigDecimal testScore;

	public ExamSubjectVO() {
	}

	public ExamSubjectVO(String name, String description, int testCount, int totalTime, BigDecimal totalScore) {
		this.name = name;
		this.description = description;
		this.testCount = testCount;
		this.totalTime = totalTime;
		this.totalScore = totalScore;
	}

	public Integer getSubId() {
		return this.subId;
	}

	public void setSubId(Integer subId) {
		this.subId = subId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public int getTestCount() {
		return this.testCount;
	}

	public void setTestCount(int testCount) {
		this.testCount = testCount;
	}

	public int getTotalTime() {
		return this.totalTime;
	}

	public void setTotalTime(int totalTime) {
		this.totalTime = totalTime;
	}

	public BigDecimal getTotalScore() {
		return this.totalScore;
	}

	public void setTotalScore(BigDecimal totalScore) {
		this.totalScore = totalScore;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public boolean isJoinTest() {
		return joinTest;
	}

	public void setJoinTest(boolean joinTest) {
		this.joinTest = joinTest;
	}

	public BigDecimal getTestScore() {
		return testScore;
	}

	public void setTestScore(BigDecimal testScore) {
		this.testScore = testScore;
	}

	public ExamScoreVO getScore() {
		return score;
	}

	public void setScore(ExamScoreVO score) {
		this.score = score;
	}

}
